package com.zenith.zongheng.demo.domain.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author tangzx
 * @since 2021-12-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@SuppressWarnings("serial")
@ApiModel(value="LeaveFile对象", description="文件储存，包含路径等")
public class LeaveFile implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * IdType.AUTO changed
     *
     * @author: wuyue
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "对应请假信息表里面的id")
    private Integer leaveInfoId;

    @ApiModelProperty(value = "文件名")
    private String filename;

    @ApiModelProperty(value = "附件路径")
    private String filePath;



    public static final String ID = "id";
    public static final String LEAVE_INFO_ID = "leave_info_id";
    public static final String FILENAME = "filename";
    public static final String FILE_PATH = "file_path";
}
